package com.pktechan.api.dao;

import com.pktechan.api.base.BaseMapper;
import com.pktechan.api.entity.CustCarriage;
import com.pktechan.api.vo.CustCarriageVO;
import org.springframework.stereotype.Repository;

/**
 * @program: cloudfloating
 * @description: 客户运费持仓DAO接口
 * @author: qx.zhang
 * @create: 2021-03-16 18:28
 **/
@Repository("custCarriageMapper")
public interface CustCarriageMapper extends BaseMapper<CustCarriage> {
    /**
     * 根据客户ID查询客户运费
     *
     * @param custId
     * @return
     */
    CustCarriage getByCustId(Integer custId);

    /**
     * 运费中心
     * @param custId
     */
    CustCarriageVO getFreightCenter(Integer custId);
}
